IMAPAccount dismail
# Address to connect to
Host imap.dismail.de
User jbranso@dismail.de
#Pass MyAwesomePassword
# To store the password in an encrypted file use PassCmd instead of Pass
PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.dismail.de.password.gpg"
#
# Use SSL
SSLType IMAPS
# The following line should work. If get certificate errors, uncomment the two following lines and read the "Troubleshooting" section.
CertificateFile /etc/ssl/certs/ca-certificates.crt
#CertificateFile ~/.cert/imap.gmail.com.pem
#CertificateFile ~/.cert/Equifax_Secure_CA.pem

IMAPStore dismail-remote
Account dismail

MaildirStore dismail-local
SubFolders Verbatim
# The trailing "/" is important
Path ~/.mail/dismail.de/
Inbox ~/.mail/dismail.de/Inbox

Channel dismail
Far :dismail-remote:
Near :dismail-local:
# Or include everything
Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Save the synchronization state files in the relevant directory
SyncState *
